package cn.com.ege.mvc.model.business;

import java.io.Serializable;

public class Attribute implements Serializable {
	
	private Long id; // 规则下类别的属性ID
	private Long category_id; // 规则下类别的ID，外键映射
	private String att_key; // 规则下类别的属性的键值，例如类别（颜色）-属性键值（蓝色）
	private String att_value; //规则下类别的属性的VALUE值，例如类别（颜色）-属性的键值（蓝色）-属性的VALUE（A8080)
	
	public Attribute(){
	}
	
	public Attribute(Long category_id, String key, String value){
		this.category_id = category_id;
		this.att_key = key;
		this.att_value = value;
	}
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public Long getCategory_id() {
		return category_id;
	}
	public void setCategory_id(Long category_id) {
		this.category_id = category_id;
	}

	public String getAtt_key() {
		return att_key;
	}

	public void setAtt_key(String att_key) {
		this.att_key = att_key;
	}

	public String getAtt_value() {
		return att_value;
	}

	public void setAtt_value(String att_value) {
		this.att_value = att_value;
	}
	
}
